package com.fept.msgcore.msgserver.netty.handler;

import io.netty.handler.codec.ByteToMessageDecoder;

/**
 * Created by Srma on 1/13/2017.
 */
public class ProtocolMessageDecoderFactory extends DecoderFactory {
    /**
     *
     * @param name
     */
    public ProtocolMessageDecoderFactory(String name) {
        super(name);
    }

    /**
     *
     */
    @Override
    public ByteToMessageDecoder newDecoder() {
        return new ProtocolMessageDecoder(this.getName());
    }
}
